﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Struct.aspx.cs" Inherits="Admin_Struct" Title="Admin~Structural Analysis" %>
<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc2" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc3" %>
<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
   <table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc1:Header ID="Header2" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                        <uc2:Menu1 ID="Menu2" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                               <tr>
                                                    <td colspan="3" class="ashBkg">
                                                         <uc4:Menu2 ID="Menu3" runat="server" />
                                                    </td>
                                              </tr>
                                                
                                               <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                        <tr>
                                                                             <td class="adminHeading " align="left">STRUCT</td>
                                                                                <td align="left"  ><asp:Label ID="lblMessage" CssClass="messageLabel" runat="server" ></asp:Label></td>
                                                                                 <td align="right" > <asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe"></asp:Label>  </td>   
                                                                                 </tr>
                                                                    </table>
                                                                </td>
                                                 </tr>   
                                                            
                                               <tr id="trStruct" runat="server" >
                                    <td>
                                        <table >
                                             <tr class="altanateAshBkg" id="trUserCode" runat="server" visible="false" >
                                    <td class='label' style="width: 120px">Id</td>
                                    <td><asp:TextBox ID="txtStructId" runat="server" cssclass='textBox' Width='150px' 
                                            MaxLength="50"></asp:TextBox></td>
                                </tr> 
                                
                                <tr class="ashBkg">
                                    <td class='label' style="width: 120px; height: 25px;">Lignin Method</td>
                                    <td style="height: 25px"><asp:TextBox ID="txtLigninMethod" runat="server" 
                                            cssclass='textBox' Width='450px' MaxLength="300" Height="19px"></asp:TextBox></td>
                                </tr> 
                                
                                <tr>
                                    <td colspan="2">
                                        <table>
                                           
                                           <tr class="altanateAshBkg">
                                                    <td class='label' style="width: 114px; height: 34px;">Lignin (wt%)</td>
                                                    <td style="height: 34px"><asp:TextBox ID="txtLignin" runat="server" 
                                                            cssclass='textBox' Width='30px' 
                                                            MaxLength="100"></asp:TextBox></td>
                                                    <td class='label' style="width: 129px; height: 34px;">Extractives (wt%)</td>
                                                    <td style="height: 34px">
                                                        <asp:TextBox ID="txtExtractives" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="100"></asp:TextBox></td>
                                                    <td class='label' style="width: 114px; height: 34px;">Soluble Sugar&nbsp;&nbsp;&nbsp; 
                                                        Starch 
                                                        (wt%)</td>
                                                    <td style="height: 34px">
                                                        <asp:TextBox ID="txtSolubleSugarStarch" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                                     
                                                     <td class='label' style="width: 114px; height: 34px;">Galactan
                                                        (wt%)</td>
                                                     <td style="height: 34px"><asp:TextBox ID="txtgalactan" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                             </tr>
                                            
                                            <tr class="ashBkg">
                                                    <td class='label' style="width: 114px">Cellulose&nbsp; (wt%)</td>
                                                    <td><asp:TextBox ID="txtCellulose" runat="server" cssclass='textBox' Width='30px' 
                                                            MaxLength="10"></asp:TextBox></td>
                                                    <td class='label' style="width: 129px">Cell Wall (wt%)</td>
                                                    <td><asp:TextBox ID="txtCellWall"  runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                                    <td class='label' style="width: 114px">Xylan (wt%)</td>
                                                    <td><asp:TextBox ID="txtXylan" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                                    <td class='label' style="width: 114px">Arabinan (wt%)</td>
                                                    <td><asp:TextBox ID="txtarabinan" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                                    
                                            </tr >
                                            
                                            <tr class="altanateAshBkg">
                                                    <td class='label' style="width: 114px">Hemicellulose (wt%)</td> 
                                                    <td><asp:TextBox ID="txtHemiCellulose" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="10"></asp:TextBox></td>
                                                    <td class='label' style="width: 129px">Pectin (wt%)</td>
                                                    <td><asp:TextBox ID="txtPectin" runat="server" cssclass='textBox' 
                                                            Width='30px' MaxLength="100"></asp:TextBox></td>
                                                    <td class='label' style="width: 114px">Glucomannan (wt%)</td>
                                                    <td><asp:TextBox ID="txtGlucomanna" runat="server" cssclass='textBox' Width='30px' 
                                                            MaxLength="10"></asp:TextBox></td>
                                                    <td class='label' style="width: 114px">Mannan (wt%)</td>
                                                    <td><asp:TextBox ID="txtmannan" runat="server" cssclass='textBox' Width='30px' 
                                                            MaxLength="10"></asp:TextBox></td>
                                                    
                                           </tr>
                                            
                                        </table>
                                    </td>
                                </tr> 
                                
                                <tr class="altanateAshBkg " >
                                    <td>
                                    
                                        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/btnSave.jpg" 
                                            onclick="btnSave_Click1" />
                                    
                                    </td>
                                    <td>
                                    <asp:Button ID="btnPrevious" Text="Previous Records" runat="server" 
                                            CssClass="button" onclick="btnPrevious_Click" />
                                    </td>
                                </tr>
                                        
                                        </table>
                                    </td>
                                </tr>
                                                               
                                               <tr class="ashBkg" id="trDgStruct" runat="server">
                                    <td colspan="2">
                                           <asp:GridView  Width="850px" AllowSorting="true" AutoGenerateEditButton="true" 
                                            AllowPaging="true" AutoGenerateColumns="false" ID="dgStruct" 
                                            runat="server" onrowediting="dgStruct_RowEditing" 
                                               onpageindexchanging="dgStruct_PageIndexChanging">
                                            <Columns>      
                                           <%-- <asp:CommandField ButtonType="Image" ShowDeleteButton="true" DeleteImageUrl="~/Images/Delete-16x16.png"  DeleteText="Delete" Visible="true" />                                                                            --%>
                                               
                                               <asp:BoundField DataField="id" HeaderText="Id" />
                                               <asp:BoundField DataField="lignin" HeaderText="Lignin" />
                                                <asp:BoundField  DataField="ligninMethod" HeaderText="LigninMethod"/>
                                                <asp:BoundField  DataField="cellulose" HeaderText="Cellulose"/>
                                                <asp:BoundField  DataField="hemicellulose" HeaderText="Hemicellulose" />
                                                <asp:BoundField  DataField="extractives" HeaderText="Extractives"/>
                                                <asp:BoundField  DataField="cellwall" HeaderText="Cell Wall" />
                                                <asp:BoundField  DataField="pectin" HeaderText="Pectin" />
                                                <asp:BoundField  DataField="sol_sugars_stch" HeaderText="Soluble Sugar Starch" />
                                                <asp:BoundField  DataField="xylan" HeaderText="Xylan" />
                                                <asp:BoundField  DataField="glucomannan" HeaderText="Glucomnannan" /> 
                                                <asp:BoundField  DataField="galactan" HeaderText="Galactan" />
                                                <asp:BoundField  DataField="arabinan" HeaderText="Arabinan" />
                                                <asp:BoundField  DataField="mannan" HeaderText="Mannan" />                                                
                                            </Columns>
                                            <HeaderStyle CssClass="gridHeading" />
                                            <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                            <RowStyle CssClass="gridRowStyle" />                                                                                       
                                            <PagerStyle />
                                            <EditRowStyle CssClass="gridEditRow" />                                     
                                        </asp:GridView>
                                    
                                    </td>
                                </tr>
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc3:Footer ID="Footer2" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
</asp:Content>

